<include file="theme/functions_com"/>
<include file="public@header"/>
</head>
<body>
<style type="text/css">
        .wrap{padding-bottom: 0;}
        .form-horizontal .form-group{margin: 0;border-bottom: 1px solid #999;margin-top: 10px;}
        .form-control{width: 75%;display: inline-block;margin-bottom: 15px;}
        .vars span{display: none;}
    </style>
    <div class="form-group">
        <div class="wrap">
            <ul class="nav nav-tabs">
                <li class="active">
                    <a href="javascript:;">
                        组件
                    </a>
                </li>
                <li>
                    <a href="{:url('theme/design_theme',['vtheme'=>'file_vari_add'])}">
                        添加变量
                    </a>
                </li>
            </ul>

            <form class="js-ajax-form  margin-top-20">
                <div class="list-group">
                    <a href="javascript:parent.openIframeLayer('{:url('portal/admin_category/index')}','导航管理')" class="list-group-item">导航管理</a>
                    <a href="javascript:parent.openIframeLayer('{:url('admin/slide/index')}','幻灯片管理')" class="list-group-item">幻灯片管理</a>
                    <a href="javascript:parent.openIframeLayer('{:url('admin/link/index')}','友情链接管理')" class="list-group-item">友情链接管理</a>
                </div>
            </form>
            <form method="post" class="form-horizontal js-ajax-form margin-top-20 layui-form layui-form-pane">
                {:_parse_variable($option)}
                <div class="col-md-3">
                    <div class="form-group" style="border: none;">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="button" class="btn btn-primary js-ajax-submit" lay-submit lay-filter="consub">更新</button>
                        </div>
                    </div>
                </div>
            </form>
       </div>

    </div>
    <script type="text/javascript" src="__STATIC__/js/admin.js"></script>
    <script type="text/javascript">
        var url = "{:url('setting/sitePost')}";
        layui.use(['form'], function(){
            LayuiPost(url);
        });
        $(".conname").click(function(){
          var copyText1 = "{"+$(this).prev().text()+"}";
          copyText(copyText1);
          layui_msg('复制成功')
          return false;
        })
    </script>
</body>
</html>